<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link type="text/css" rel="stylesheet" href="css/login.css"/>
    <script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="js/login.js"></script>
    <title>简历</title>
    <script type="text/javascript">

        $(document).ready(function () {
            $("#rProvince").empty();
            /*创建地区多选菜单*/
            $.get("selectProvinceAll", function (provinces) {
                eval("var province=" + provinces);
                $("[id='txtcon txt5']").empty();
                for (var i = 0; i < province.length; i++) {
                    var obj = "<option>" + province[i].pname + "</option>";
                    $(obj).appendTo($("#rProvince"));
                }
            })
        })

    </script>

</head>

<body>
<div class="header">
    <div class="mainwarp">
        <div class="logo"><a href="index.jsp"><img src="images/log.png"/></a></div>
        <div class="welcome">欢迎注册</div>
        <div class="headerright">
            <a href="login.jsp">个人登录</a>
            <span>|</span>
            <a href="index.jsp">返回首页</a>
        </div>
    </div>
</div>
<div class="jianliBox">
    <div class="jlpart1">
        <img src="images/img1.png"/>
    </div>
    <div class="jlpart2">


        <form action="insertresume" method="post">
        <div class="jlpart2_1">
            <div class="jlbox1">
                <h1>一分钟填写简历</h1>
                <p>填写以下信息即可生成一份简历，一步注册，起航你的成功之梦！</p>
            </div>
            <div class="jlbox2">
                <span class="tit">姓名</span>
                <input id="rUname" type="text" class="txtcon txt1" name="rUname"/>
            </div>
            <div class="jlbox2">
                <span class="tit">我是</span>
                <div class="sex on">男</div>
                <div class="sex">女</div>
                <div class="clear"></div>
                <input type="hidden" name="rUsex"/>
            </div>
            <div class="jlbox2">
                <span class="tit">出生于</span>
                <input id="rBorth" type="text" class="txtcon txt3" name="rBorth"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">手机号</span>
                <input id="rUphone" type="text" class="txtcon txt3" name="rUphone"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">毕业学校</span>
                <input id="rUschoolname" type="text" class="txtcon txt3" name="rUschoolname"/>
                <select class="txtcon txt5" name="rEducation" id="rEducation" >
                    <option value="0">初中及一下</option>
                    <option value="1">中专/中技</option>
                    <option value="2">高中</option>
                    <option value="3">大专</option>
                    <option value="4">硕士</option>
                    <option value="5">本科</option>
                    <option value="6">博士</option>
                </select>
                <div class="titxt">学历</div>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">专业名称</span>
                <input id="rUmajorname" type="text" class="txtcon txt3" name="rUmajorname"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">所学专业</span>
                <input id="rUstudymajor" type="text" class="txtcon txt3" name="rUstudymajor"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">想在</span>
                <select class="txtcon txt5" id="rProvince" name="rProvince" >
                    <option value="">北京</option>
                    <option value="">上海</option>
                    <option value="">深圳</option>
                    <option value="">广州</option>
                    <option value="">长春</option>
                </select>
                <div class="titxt">找月薪</div>
                <select class="txtcon txt6" id="rUexpectedsalary" name="rUexpectedsalary">
                    <option value="0">30000以上</option>
                    <option value="1">20000-30000</option>
                    <option value="2">10000-20000</option>
                    <option value="3">5000-10000</option>
                    <option value="4">5000以下</option>
                </select>
                <div class="titxt">的</div>
                <select class="txtcon txt5" id="rUworknature" name="rUworknature">
                    <option value="0">全职</option>
                    <option value="1">兼职</option>
                    <option value="2">实习</option>


                </select>
                <div class="titxt">工作</div>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">求职状态</span>
                <select class="txtcon txt2" id="rUjobstatus" name="rUjobstatus">
                    <option value="0">离职-随时到岗</option>
                    <option value="1">在职-月内到岗</option>
                    <option value="2">在职-考虑机会</option>
                    <option value="3">在职-暂不考虑</option>
                </select>
            </div>
            <div class="jlbox2">
                <span class="tit">邮箱</span>
                <input id="rEmail" type="text" class="txtcon txt3" name="rEmail"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <input name="" type="submit" value="生成简历" class="jlbtn" onclick="chooseSex()"/>
            </div>

        </div>

        </form>

    </div>
</div>

<div class="clear"></div>
<div class="footer">
</div>

<script type="text/javascript">
    /*点击选择性别*/
    function chooseSex() {
        var str=$("[class='sex on']").text();
        $("[name='rUsex']").val(str);
        return true;
    }
</script>


</body>
</html>
